package com.cloudlead.fleetService;

import com.cloudlead.common.lang.annotation.RemoteService;
import com.cloudlead.common.lang.persistence.EasyuiGridData;
import com.cloudlead.common.lang.persistence.ObjectList;
import com.cloudlead.common.lang.persistence.Page;
import com.cloudlead.fleetService.vo.BaseDriverVO;
import com.cloudlead.fleetService.vo.BaseFleetVo;

import java.util.List;

/**
 * Created by 123 on 2015/9/1.
 */
@RemoteService
public interface BaseDriverEditService {
    //增加驾驶员
    public void addBaseDriver(BaseDriverVO baseDriverVO);
    //删除驾驶员
    public void delBaseDriver(String id);
    //恢复驾驶员
    public void hfBaseDriver(String id);
    //修改驾驶员
    public void editBaseDriver(BaseDriverVO baseDriverVO);
    //查询驾驶员
    public Object findBaseDriver(BaseDriverVO baseDriverVO);
    //微信解绑
    public void relieveWX(String id);
    //查询驾驶员（分页）
    public EasyuiGridData findAllBaseDriver(BaseDriverVO baseDriverVO,int rows,int page);
    public ObjectList baseDriverList(String baseCompanyId);

    public ObjectList baseDriverListByFleet(String fleetId);
}
